<?php if(!defined('EMLOG_ROOT')) {exit('error!');}?>
<?php doAction('index_loglist_top'); ?>
<?php foreach($logs as $value): ?>
	<div class="post">
		<h3 class="title"><img src="<?php echo TEMPLATE_URL; ?>images/icon_log.gif">&nbsp;<?php topflg($value['top']); ?><a href="<?php echo $value['log_url']; ?>" rel="bookmark"><?php echo $value['log_title']; ?></a></h3>

		<div class="meta">
			<div class="act">
				<span>
				<a href="<?php echo $value['log_url']; ?>#comment">评论(<?php echo $value['comnum']; ?>)</a>
				<a href="<?php echo $value['log_url']; ?>#tb">引用(<?php echo $value['tbcount']; ?>)</a> 
				<a href="<?php echo $value['log_url']; ?>">浏览(<?php echo $value['views']; ?>)</a>
				</span>
				<?php editflg($value['logid'],$value['author']); ?>
			</div>
			<div class="info">
				本文由 <?php blog_author($value['author']); ?> 发表于 <?php echo gmdate('Y年n月j日 h:m:s', $value['date']); ?><?php blog_sort($value['logid']); ?>
			</div>
			<div class="tags"><?php blog_tag($value['logid']); ?></div>
			<div class="fixed"></div>
		</div>
	</div>
<?php endforeach; ?>
	<div id="pagenavi" class="block">
				<div class="content g">
					<span class="newer"></span>
					<span class="older"><?php echo $page_url;?></span>
					<div class="fixed"></div>
				</div>
			</div>
<?php  include View::getView('footer'); ?>
